<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button>点击 </button>
    <script>
        var o = {
            name: 'andy'
        }

        function fn() {
            console.log(this);
        }
        // fn.bind(o);
        var f = fn.bind(o);
        f();
        var btn = document.querySelector('button');
        btn.onclick = function() {
            this.disabled = true;
            setTimeout(function() {
                this.disabled = false;
            }.bind(btn), 3000)
        }
    </script>
</body>

</html>